<!-- Documentation produced by the Html generator of Bouml (http://bouml.free.fr) -->
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title>Class Subject</title>
<link rel="stylesheet" href="style.css" type="text/css" />
</head>

<body bgcolor="#ffffff">

<div class = "title">Class Subject</div>
<p></p>

<!-- ============================================================= -->

<a name="refclass128258"></a>
<p>This program is free software: you can redistribute it and/or modify<br />it under the terms of the GNU General Public License as published by<br />the Free Software Foundation, either version 3 of the License, or<br />(at your option) any later version<br />This program is distributed in the hope that it will be useful,<br />but WITHOUT ANY WARRANTY; without even the implied warranty of<br />MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the<br />GNU General Public License for more details<br />You should have received a copy of the GNU General Public License<br />along with this program.  If not, see &lt;http://www.gnu.org/licenses/&gt;.<br /><br /><br /><br />The Subject interface<br /><br />@author wassim Chegham &amp; hugo Marchadour<br />@category Observer<br />@package observer<br />@version 0.1<br /><br /></p>
<p>Declaration :</p><ul>
<li>Php :  interface Subject </li></ul><p>Directly inherited by : <a href="class128002.html#refclass128002"><b>Buffer</b></a> <a href="class129154.html#refclass129154"><b>Ihm</b></a> </p>
<p>Artifact : <a href="index.html#refartifact129538"><b>Subject</b></a></p>
<p>Stereotype: interface</p>
<div class="sub">
<a name="refoperation135938"></a>
<table><tr><td><div class="element">Operation <b>attach</b></div></td></tr></table><p>Attach an observer to this concrete subject<br />@return ${type}<br />@param Observer $o the observer of this concrete subject<br /><br /></p><p>Declaration :</p><ul><li>Uml : + attach(inout o : Observer) : void</li><li>Php : public function attach(&amp; $o) </li></ul><a name="refoperation136066"></a>
<table><tr><td><div class="element">Operation <b>detach</b></div></td></tr></table><p>Detach an observer from this concrete subject<br />@return ${type}<br />@param Observer $o the observer to be detached<br /><br /></p><p>Declaration :</p><ul><li>Uml : + detach(inout o : Observer) : void</li><li>Php : public function detach(&amp; $o) </li></ul></div>
<p>All public operations : <a href="class128258.html#refoperation135938"><b>attach</b></a> , <a href="class128258.html#refoperation136066"><b>detach</b></a> </p>
</body>
</html>
